package com.example.foobar.entity;

import io.geekidea.springbootplus.framework.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import io.geekidea.springbootplus.framework.core.validator.groups.Update;

/**
 * 
 *
 * @author 郑英奔
 * @since 2021-05-31
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ImsAccountWechats对象")
public class ImsAccountWechats extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "不能为空")
    @TableId(value = "acid", type = IdType.AUTO)
    private Integer acid;

    @NotNull(message = "不能为空")
    private Integer uniacid;

    @NotBlank(message = "不能为空")
    private String token;

    @NotBlank(message = "不能为空")
    private String encodingaeskey;

    @NotNull(message = "不能为空")
    private Integer level;

    @NotBlank(message = "不能为空")
    private String name;

    @NotBlank(message = "不能为空")
    private String account;

    @NotBlank(message = "不能为空")
    private String original;

    @NotBlank(message = "不能为空")
    private String signature;

    @NotBlank(message = "不能为空")
    private String country;

    @NotBlank(message = "不能为空")
    private String province;

    @NotBlank(message = "不能为空")
    private String city;

    @NotBlank(message = "不能为空")
    private String username;

    @NotBlank(message = "不能为空")
    private String password;

    @NotNull(message = "不能为空")
    private Integer lastupdate;

    @NotBlank(message = "不能为空")
    private String secret;

    @NotNull(message = "不能为空")
    private Integer styleid;

    @NotBlank(message = "不能为空")
    private String subscribeurl;

    @NotBlank(message = "不能为空")
    private String authRefreshToken;

}
